package com.ykyl.constant;

import cn.hutool.core.collection.CollUtil;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @ClassName SecurityConstant.java
 */
public class SecurityConstant {

    //用户前端token
    public static final String USER_TOKEN = "authorization";

    //本人
    public static final String DATA_SCOPE_1 = "1";

    //自定义
    public static final String DATA_SCOPE_0 = "0";
    public static final String DEFAULT_PASSWORD = "888itcast.CN764%...";

    public static final List<String> IGNORE_URL = CollUtil.newArrayList(
            "/resource/menus/**", "/resource/myButten/**", "/customer/**", "/security/login",
            "/user/current-user", "/v2/api-docs", "/webjars/**", "/common/**", "/ws/**"
    );

}
